package com.woniu.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.woniu.pojo.User;
import org.apache.ibatis.annotations.Update;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Energy
 * @since 2022-10-12
 */
public interface UserMapper extends BaseMapper<User> {

    @Update("update t_user set phone=#{phone} where id=#{id}")
    Boolean updatePhoneById(long id, String phone);
}
